package com.ateam.pojo;

import java.util.Date;

/** 
* @author WuYuan
* 
*/
public class Users {
	private int userid;//用户id
	private String username;//用户姓名
	private String password;//密码
	private String department;//部门
	private String duty;//职务
	private String gender;//性别
	private String birthday;//生日
	private String tel;//手机号码
	private String address;//地址
	private String qq;//qq
	private String aboutme;//自我简介
	private String email;//注册邮箱
	private String role;//用户角色
	private String head;//头像的地址
	private Date jointime;//加入时间
	private int companyid;//所属公司id
	
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getDuty() {
		return duty;
	}
	public void setDuty(String duty) {
		this.duty = duty;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getAboutme() {
		return aboutme;
	}
	public void setAboutme(String aboutme) {
		this.aboutme = aboutme;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		this.head = head;
	}
	public Date getJointime() {
		return jointime;
	}
	public void setJointime(Date jointime) {
		this.jointime = jointime;
	}
	public int getCompanyid() {
		return companyid;
	}
	public void setCompanyid(int companyid) {
		this.companyid = companyid;
	}
	@Override
	public String toString() {
		return "Users [userid=" + userid + ", username=" + username + ", password=" + password + ", department="
				+ department + ", duty=" + duty + ", gender=" + gender + ", birthday=" + birthday + ", tel=" + tel
				+ ", address=" + address + ", qq=" + qq + ", aboutme=" + aboutme + ", email=" + email + ", role=" + role
				+ ", head=" + head + ", jointime=" + jointime + ", companyid=" + companyid + "]";
	}
	
	
}
